-- 1 -- |
-- 3 -- | -- 4 -- |
If your browser supports JavaScript, you can click on any of the tools on the Toolbar above to move to the section which describes the tool. Regardless of whether your browser supports JavaScript or not, clicking any of the icons below will transport you back to the top of this page. |
Converting and Saving Documents
CONVERT AND SAVE TOOLIf you choose to close the .HTM document after converting and saving it, Word will display a dialog box with the following message:
Do you want to save changes to (your .HTM document )
Answer "NO" to this question. Your document will be saved in the correct format After clicking the CONVERT AND SAVE TOOL, a dialog box will appear which contains conversion options. You may choose whether or not you wish to have each entry checked for tags. If you are creating a new HTML document, the settings you'll need are already set as the defaults. If you have imported a previously coded HTML document, and the HTML tags are just the way you want them, you may wish to choose the Quick Save option. The file will be saved "as is" with an .HTM extension. (Word imports all text in HTML documents as "Normal" style, so headings, list items and other entries which do not require < P> tags will automatically receive < P> tags if you are editing a previously coded document and do not use the Quick Save option. You may just delete them and select File, Save after the conversion, if you don't wish to use the Quick Save option.) If you experience any temporary embogglement at the apparent complexity of the options, please note that they're easier done than said. Try them.. Some HTML editors do not permit any editing of HTML documents and thus happily avoid the necessity of presenting the user with explanations and descriptions of possible choices. I hope the options and features of the Ant template will compensate. The CONVERT AND SAVE TOOL now provides an option to either view or to hide the conversion process. The CONVERT AND SAVE TOOL also automatically converts superscripts and subscripts.
Word .DOCs and HTML documents are very different beasts Viewing the Hidden Codes
Headings and StylesHEADINGS 1 - 6. TOOLS and TITLE TOOLS:If there is more than one paragraph selected, the codes will be placed at the beginning and at the end of all the text in your selection. ADDRESS STYLE:If there is more than one paragraph selected, the codes will be placed at the beginning and at the end of all the text in your selection. NORMAL STYLEYou may also select headings, styles, as well as numbered or unnumbered lists via Word's STYLE BOX.
When you use styles from the Word Style Box (to the left of the font selections on
Word's standard formatting toolbar), you may quickly insert heading and style codes
by choosing the CHECK STYLES FOR. HTML CODES TOOL(If some codes are already inserted, it will ignore them so you may use this tool as many times as you wish while preparing your document.) In addition to the above options, a STYLE TOOL<HEAD>.. <BODY>.. <BLOCKQUOTE>.. <COMMENT>.. <DIRECTORY>.. <CITE>.. <CODE>.. <FIXED>.. <KEYBOARD>.. <SAMPLE>.. <STRONG> & <VARIABLE>. The BACKGROUNDS AND COLORS TOOL enters the beginning < body > tag along with your background graphics and color preferences, if you want it to. When an option is chosen, the codes will automatically be inserted at the cursor location. If no text is selected, the codes surround the cursor, so you can begin typing your entry immediately. If text is selected, the codes will surround the text. Use whatever method you find the most convenient. If there is more than one paragraph selected, the codes will be placed at the beginning and at the end of all the text in your selection. Note: If you use the style called CODE, Word changes some entries like "<code> & lt; </code> ". Word reads it as....{yes, you guessed it}, CODE! PREWord .DOC to HTML Table conversions.
PRE uses a fixed width font. The PRE TOOL inserts the code
" If there is more than one paragraph selected, the codes will be placed at the beginning and at the end of all the text in your selection.
Spacing (tabs, indents, etc. will be determined to some degree by Web browsers, so you
may wish to preview your work in a browser before finalizing your document.
Most browsers don't recognize tabs or indents at all. The ones that do, generally
prefer spaces better than tabs and like tabs much better than indents.
The PRE font looks like this: This is a PRE Entry: 4567 8910 This is the second line: 7654 0198 Horizontal Rule
New FANCY <HR> TOOL allows a variety of Horizontal Rule tag options.
Two font styles: "Directive Text" and "URL Text" are used by the macros to facilitate the application of character attributes...to hide the directives and to show the URL links. You will not need them unless you hate red hidden text and would prefer some other color. You may alter the color in the Format Styles menu. P Tool
BR Tool
The CONVERT AND SAVE TOOL or the CHECK STYLES FOR HTML CODES TOOL will insert these
for you wherever you have inserted a line break (SHIFT+ENTER) if the Entering Graphics
2... Inserts the appropriate .gif reference and the actual picture into the current document. Note that certain graphic filter requirements must be met or the application can crash. Save often! (The placeholders should not present this problem.)
In the two options above, if your .DOC has been saved and given a name, the Ant will automatically calculate and insert the "Relative Path" (e.g. the path between the .DOC and the .GIF or other graphic file) for you. For more information about graphic paths, see Graphics Files and Paths, below.
3... NEW AND IMPROVED VERSION 3.0.
* Then, click OK. Your custom path preference will be stored and reappear in the textbox so that the next time you click the tool, you donÆt have to reenter it. The custom setting can be deleted or changed at any time. If an entry in this textbox exists, it takes precedence over the options described in # 1 and 2 above.) 4... Permits you to type (or copy and paste) the name of the .gif and the path into a text box, then inserts the appropriate codes. This option does not automatically insert a placeholder. You can insert a placeholder in several ways should you wish to do so. Create your own or place the cursor next to your .gif reference and click on the PLACEHOLDER TOOL. (If you type (or copy and paste) an entry into this textbox, the entry takes precedence over any of the other options.)
The GIF TOOL offers options (non-WYSIWYG) for...
The tools default setting is ".GIF" because that's the only graphic format that all Web browsers can display. You can, however, enter any graphic you like. To choose a .JPG or any other format, select the "List Files of Type" entry in the dialog box and after the Ant calculates the path and installs the HTML tag, replace the ".GIF" with whatever format is appropriate.
Gif Tip
Graphics Files and Paths If you are viewing files on your computer and both the HTML file and the .GIF file reside in the same directory, the .GIF tag would read:
< IMG SRC="mygraphic.gif"> but if the .GIF file is in a different directory, the path in the .GIF tag must accurately point the way. For example if the directory structure looks like this:
C:\ - MYDOCS - MYHTMLS - current <- this directory contains myhtml.htm - graphics <- this directory contains mygraphic.gif - former - oldgifs - WINWORDThen, the tag in the HTML document (i.e. "myhtml.htm") should read:
< IMG SRC="graphics/mygraphic.gif"
> (This is standard DOS computer path info.) The Ant programs automatically calculate the path for you if you choose to insert the image or a placeholder when you click the Insert GIF Tool. This is only valuable for viewing files on your computer, though. Frequently when HTML files and graphics files are placed on a Web server, the directory structure isn't identical to that of the computer the files are created on. If both the HTML file and the graphic file that is to be displayed by the browser reside in the same directory (on your computer and / or on the server), the tag need only contain the filename (the name of the graphic file) itself and no path will be required.
Back to Creating A Hypertext Document Hypertext Links
URL World Wide Web Anchors
( URL Links to locations outside the document or set of local documents)
Local Anchors
(Links within documents and to other local documents): TO CREATE A LOCAL LINK:
A HREF = "OtherDocumentName#Gizmo"> </A>
Notice that the bracket is omitted in front of "A HREF"
All this is easier done than said. Just try it. For more information, see Resources
Numbered and Unnumbered (bullet) ListsNUMBERED LIST TOOLorUNNUMBERED LIST TOOLIf the text you select is already a list style, the tools change the level of the list. All text to be converted to a list should be included when you make your selection.Each paragraph in the selected text is converted to a list item
Allow the template to enter the (Use Word's Style Box styles if you prefer, or a combination.) Or... you can insert the list tags you want as you go by using the FORMAT LIST ENTRY TOOL. Discursive Lists
Below is an example of a Discursive List entry:
Converting HTML files to WYSIWYG
In the complete version of the program, click the HTML to WYSIWYG TOOL and revise or print your document. (You can easily remove all HTML tags afterwards, if you wish, with the "Zap Codes from Entire Document" tool. The HTML TO WYSIWYG Tool assumes that lists are not nested (i.e. inside each other). It also assumes that for each beginning HTML tag in the document, an ending tag exists. The HTML to WYSIWYG TOOL now provides an option to either view or to hide the conversion process. The HTML to WYSIWYG TOOL also automatically converts superscripts and subscripts in the complete version of the program. The ANT Tool
|